package com.filters;

import java.io.IOException;

import javax.servlet.FilterChain;
import javax.servlet.ServletException;
import javax.servlet.ServletRequest;
import javax.servlet.ServletResponse;
import javax.servlet.http.HttpServletRequest;

import org.springframework.web.filter.DelegatingFilterProxy;

public class MyShiroFilter extends DelegatingFilterProxy
{

	@Override
	public void doFilter(ServletRequest request, ServletResponse response,
			FilterChain filterChain) throws ServletException, IOException
	{
		if(((HttpServletRequest)request).getRequestURL().toString().contains("plateresult.action"))
		{
			filterChain.doFilter(request, response);
			return ;
		}
		super.doFilter(request, response, filterChain);
	}
	
}
